package com.coolingme.springcloud.provider.service;

import com.coolingme.springcloud.provider.api.ISayHelloService;
import org.apache.dubbo.config.annotation.Service;

/**
 * @author wangyue
 * @date 2022/10/5 17:46
 */
@Service(protocol = "dubbo", cluster = "failover", retries = 2)
public class SayHelloServiceImpl implements ISayHelloService {

    @Override
    public String sayHello(String name) {
        return "Hello " + name;
    }

}
